.class Lcom/brixd/niceapp/activity/BaseDetailActivity$34;
.super Ljava/lang/Object;
.source "BaseDetailActivity.java"

# interfaces
.implements Lcom/brixd/niceapp/control/LocalLinkMovementMethod$OnLinkClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/activity/BaseDetailActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/BaseDetailActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/BaseDetailActivity;

    .prologue
    .line 1478
    iput-object p1, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$34;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onLinkClick(Landroid/widget/TextView;Landroid/text/style/ClickableSpan;)Z
    .registers 6
    .param p1, "widget"    # Landroid/widget/TextView;
    .param p2, "span"    # Landroid/text/style/ClickableSpan;

    .prologue
    .line 1482
    instance-of v2, p2, Landroid/text/style/URLSpan;

    if-eqz v2, :cond_29

    .line 1483
    check-cast p2, Landroid/text/style/URLSpan;

    .end local p2    # "span":Landroid/text/style/ClickableSpan;
    invoke-virtual {p2}, Landroid/text/style/URLSpan;->getURL()Ljava/lang/String;

    move-result-object v1

    .line 1485
    .local v1, "url":Ljava/lang/String;
    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$34;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/BaseDetailActivity;->mLinkHandler:Lcom/brixd/niceapp/util/LinkHandler;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->access$4600(Lcom/brixd/niceapp/activity/BaseDetailActivity;)Lcom/brixd/niceapp/util/LinkHandler;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/brixd/niceapp/util/LinkHandler;->redirectUrl(Ljava/lang/String;)Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;

    move-result-object v0

    .line 1486
    .local v0, "ret":Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;
    sget-object v2, Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;->GOTO_WEB_VIEW:Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;

    if-ne v0, v2, :cond_1f

    .line 1487
    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$34;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v2, v1}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->traceLinkClick(Ljava/lang/String;)V

    .line 1492
    :cond_1d
    :goto_1d
    const/4 v2, 0x1

    .line 1495
    .end local v0    # "ret":Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;
    .end local v1    # "url":Ljava/lang/String;
    :goto_1e
    return v2

    .line 1488
    .restart local v0    # "ret":Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;
    .restart local v1    # "url":Ljava/lang/String;
    :cond_1f
    sget-object v2, Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;->NOTHING:Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;

    if-eq v0, v2, :cond_1d

    .line 1489
    iget-object v2, p0, Lcom/brixd/niceapp/activity/BaseDetailActivity$34;->this$0:Lcom/brixd/niceapp/activity/BaseDetailActivity;

    invoke-virtual {v2, v0}, Lcom/brixd/niceapp/activity/BaseDetailActivity;->traceDetailToDetail(Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;)V

    goto :goto_1d

    .line 1495
    .end local v0    # "ret":Lcom/brixd/niceapp/util/LinkHandler$RedirectResult;
    .end local v1    # "url":Ljava/lang/String;
    .restart local p2    # "span":Landroid/text/style/ClickableSpan;
    :cond_29
    const/4 v2, 0x0

    goto :goto_1e
.end method
